package com.ruiyian.common.enums;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2022/4/19
 * Desc: netty返回类型
 */
public enum ReturnType {
    QUERY("query", "查询"), WRITE("write", "写"), ONLINE("onLine", "在线");

    private final String code;
    private final String info;

    ReturnType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
